package util.chessworld.util;

public class Vectors {

    private int u;
    private int v;

    public Vectors(int u, int v) {
        this.u = u;
        this.v = v;
    }

    public Vectors plus(Vectors vect) {
        return new Vectors(u + vect.u, v + vect.v);
    }

    public int U() {
        return u;
    }

    public int V() {
        return v;
    }

    @Override
    public String toString() {
        return this.getClass().getSimpleName();
    }
}
